package ltd.smallwang.client.tool.dto;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class EmailVerifyCodeQry {

  @NotBlank(message = "username can not empty")
  @Size(min = 1, max = 32, message = "username length must between 6 and 32")
  private String username;

  @Email(message = "email format is incorrect")
  private String email;

  /**
   * 应用ID，后期独立微服务后使用，譬如：schedule-self
   */
  @NotBlank(message = "appId cannot be blank")
  private String appId;
}
